﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_LivestockMedication
    {
        D_LivestockMedication dal = new D_LivestockMedication();
        public static B_LivestockMedication CreateInstance()
        {
            return new B_LivestockMedication();
        }
        public bool CreateOneLivestockMedication(LivestockMedication_Info LivestockMedication_Info)
        {

            return dal.CreateOneLivestockMedication(LivestockMedication_Info);
        }
        public bool EditOneLivestockMedication(LivestockMedication_Info LivestockMedication_Info)
        {

            return dal.EditOneLivestockMedication(LivestockMedication_Info);
        }
        public bool RemoveOneLivestockMedication(int HealthID)
        {

            return dal.RemoveOneLivestockMedication(HealthID);
        }
        public DataTable GetAllLivestockMedication()
        {
            
            return dal.GetAllLivestockMedication();
        }
        public LivestockMedication_Info GetOneLivestockMedication(int HealthID)
        {
            
            return dal.GetOneLivestockMedication(HealthID);
        }
    }
}
